import { axios } from '@/utils/request'

const api = {
  count: '/statistic/mch/count',
  order: '/statistic/mch/order'
}

export default api

export function count (parameter) {
  return axios({
    url: api.count,
    method: 'get',
    params: parameter
  })
}
export function order (parameter) {
  return axios({
    url: api.order,
    method: 'get',
    params: parameter
  })
}
